Set the selection state of all documents in an index that match search request.
C#
public long SelectItemsBySearch(
long whichIndex,
ref String searchRequest,
bool isSelected
);
Parameters
Parameters |
Description |
---|---|
whichIndex |
Integer identifying the index in this SearchFilter (obtained from AddIndex) |
searchRequest |
Search request to select documents |
isSelected |
Selection state to assign to documents |
Remarks
You can also use SearchJob.WantResultsAsFilter to create a SearchFilter from the results of a search. Using SearchJob.WantResultsAsFilter is more flexible than SelectItemsBySearch because you can use any of the properties of the SearchJob (search flags, FileConditions, etc.) rather than just a simple search request.
See Also